<extend name='Index:index'/>
<block name='right'>
<div class="rightBody">

	<table class="table table-bordered table-hover click-toggle">
		<tr class="titleTr warning">
			<th>序号</th>
			<th>商铺名称</th>
			<th>商铺地址</th>
			<th>商铺地铁</th>
			<th>商铺电话</th>
			<th>操作</th>
		</tr>
		<volist	name='rows' id='row' key='d'> 
		<tr class="titleTr" >
			<td><{$d}></td>
			<td><{$row['shopname']}></td>
			<td><{$row['shopaddress']}></td>
			<td><{$row['metroaddress']}></td>
			<td><{$row['shoptel']}></td>
			<td>
				<a href="<{:U('Shop/edit','','')}>/shopid/<{$row['shopid']}>" class="btn btn-sm btn-primary">编辑</a> 
				<a href="<{:U('Shop/delete','','')}>/shopid/<{$row['shopid']}>" class="btn btn-sm btn-danger">删除</a>
				<a href="<{:U('Goods/add','','')}>/shopid/<{$row['shopid']}>" class='btn btn-sm btn-info'>添加商品</a>
			</td>
		</tr>
		</volist>
	</table>
	<p class="text-center"><{$show}></p>
</div>

</block>